package com.xjc.business.service;

import com.xjc.business.entity.domain.SysAdmins;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjc.business.entity.po.sysadmin.SysAdminLoginPo;
import com.xjc.business.entity.vo.sysadmin.SysAdminLoginVo;
import com.xjc.system.result.Result;

/**
* @author root
* @description 针对表【sys_admins(系统管理员表)】的数据库操作Service
* @createDate 2025-01-25 10:24:33
*/
public interface SysAdminsService extends IService<SysAdmins> {

    /**
     * 登录
     * @param sysAdminLoginPo 登录参数
     * @return 登录成功返回token，失败返回错误信息
     */
    Result<SysAdminLoginVo> doLogin(SysAdminLoginPo sysAdminLoginPo);
}
